.class Lcom/brixd/niceapp/activity/GuideActivity$3;
.super Ljava/lang/Object;
.source "GuideActivity.java"

# interfaces
.implements Landroid/support/v4/view/ViewPager$PageTransformer;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/GuideActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/GuideActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/GuideActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/GuideActivity;

    .prologue
    .line 135
    iput-object p1, p0, Lcom/brixd/niceapp/activity/GuideActivity$3;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public transformPage(Landroid/view/View;F)V
    .registers 13
    .param p1, "page"    # Landroid/view/View;
    .param p2, "position"    # F

    .prologue
    .line 139
    mul-float v5, p2, p2

    mul-float/2addr p2, v5

    .line 141
    check-cast p1, Landroid/view/ViewGroup;

    .end local p1    # "page":Landroid/view/View;
    const/4 v5, 0x0

    invoke-virtual {p1, v5}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/view/ViewGroup;

    .line 142
    .local v4, "v":Landroid/view/ViewGroup;
    invoke-virtual {v4}, Landroid/view/ViewGroup;->getWidth()I

    move-result v5

    div-int/lit8 v5, v5, 0x2

    int-to-float v1, v5

    .line 143
    .local v1, "coefficient":F
    invoke-virtual {v4}, Landroid/view/ViewGroup;->getChildCount()I

    move-result v0

    .line 144
    .local v0, "children":I
    const/4 v2, 0x0

    .local v2, "i":I
    :goto_18
    if-ge v2, v0, :cond_34

    .line 145
    invoke-virtual {v4, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v3

    .line 146
    .local v3, "mv":Landroid/view/View;
    mul-float v5, v1, p2

    invoke-virtual {v3, v5}, Landroid/view/View;->setTranslationX(F)V

    .line 147
    float-to-double v8, v1

    const/4 v5, 0x5

    if-ge v0, v5, :cond_2e

    const-wide/high16 v6, 0x4008000000000000L

    :goto_29
    mul-double/2addr v6, v8

    double-to-float v1, v6

    .line 144
    add-int/lit8 v2, v2, 0x1

    goto :goto_18

    .line 147
    :cond_2e
    const-wide v6, 0x3ff999999999999aL

    goto :goto_29

    .line 149
    .end local v3    # "mv":Landroid/view/View;
    :cond_34
    return-void
.end method
